package com.test

import ch.hsr.geohash.GeoHash

/**
 * @Created by Orion
 * @Description
 */
object TestGeoHash {
  def main(args: Array[String]): Unit = {
    //wmsgfv
    val str1 = GeoHash.geoHashStringWithCharacterPrecision(31.627169839712284, 108.06108073320024, 6)
    println(str1)

    val str2 = GeoHash.withCharacterPrecision(31.627169839712284, 108.06108073320024, 6)
    println(str2.toBase32)




  }

}
